/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * CU014.java
 *
 * Created on 03/11/2012, 12:55:15
 */
package victory;

/**
 *
 * @author Enrique
 */
public class CU014 extends javax.swing.JPanel {

    /** Creates new form CU014 */
    public CU014() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        codigo = new javax.swing.JTextField();
        label_descripcion = new javax.swing.JLabel();
        scp_descripcion = new javax.swing.JScrollPane();
        txt_descripcion = new javax.swing.JTextArea();
        label_nombreLugar = new javax.swing.JLabel();
        boton_agregar = new javax.swing.JButton();
        nombreLugar = new javax.swing.JTextField();
        scp_deportes = new javax.swing.JScrollPane();
        txt_deportes = new javax.swing.JTextArea();
        label_deportes = new javax.swing.JLabel();
        deportes = new javax.swing.JTextField();
        boton_cancelar = new javax.swing.JButton();
        boton_aceptar = new javax.swing.JButton();
        boton_eliminarDeporte = new javax.swing.JButton();
        jLabel5 = new javax.swing.JLabel();
        label_codigo = new javax.swing.JLabel();

        setName("Form"); // NOI18N

        codigo.setName("codigo"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(victory.VictoryApp.class).getContext().getResourceMap(CU014.class);
        label_descripcion.setText(resourceMap.getString("label_descripcion.text")); // NOI18N
        label_descripcion.setName("label_descripcion"); // NOI18N

        scp_descripcion.setName("scp_descripcion"); // NOI18N

        txt_descripcion.setColumns(20);
        txt_descripcion.setRows(5);
        txt_descripcion.setName("txt_descripcion"); // NOI18N
        scp_descripcion.setViewportView(txt_descripcion);

        label_nombreLugar.setText(resourceMap.getString("label_nombreLugar.text")); // NOI18N
        label_nombreLugar.setName("label_nombreLugar"); // NOI18N

        boton_agregar.setText(resourceMap.getString("boton_agregar.text")); // NOI18N
        boton_agregar.setName("boton_agregar"); // NOI18N

        nombreLugar.setName("nombreLugar"); // NOI18N
        nombreLugar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                nombreLugarActionPerformed(evt);
            }
        });

        scp_deportes.setName("scp_deportes"); // NOI18N

        txt_deportes.setColumns(20);
        txt_deportes.setRows(5);
        txt_deportes.setName("txt_deportes"); // NOI18N
        scp_deportes.setViewportView(txt_deportes);

        label_deportes.setText(resourceMap.getString("label_deportes.text")); // NOI18N
        label_deportes.setName("label_deportes"); // NOI18N

        deportes.setName("deportes"); // NOI18N

        boton_cancelar.setText(resourceMap.getString("boton_cancelar.text")); // NOI18N
        boton_cancelar.setName("boton_cancelar"); // NOI18N

        boton_aceptar.setText(resourceMap.getString("boton_aceptar.text")); // NOI18N
        boton_aceptar.setName("boton_aceptar"); // NOI18N

        boton_eliminarDeporte.setText(resourceMap.getString("boton_eliminarDeporte.text")); // NOI18N
        boton_eliminarDeporte.setName("boton_eliminarDeporte"); // NOI18N

        jLabel5.setFont(resourceMap.getFont("jLabel5.font")); // NOI18N
        jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
        jLabel5.setName("jLabel5"); // NOI18N

        label_codigo.setText(resourceMap.getString("label_codigo.text")); // NOI18N
        label_codigo.setName("label_codigo"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 535, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(boton_aceptar)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(boton_cancelar))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addGroup(layout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(boton_eliminarDeporte))
                        .addGroup(layout.createSequentialGroup()
                            .addGap(24, 24, 24)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(label_descripcion)
                                .addComponent(scp_descripcion, javax.swing.GroupLayout.PREFERRED_SIZE, 222, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jLabel5)
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(label_codigo)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addComponent(codigo, javax.swing.GroupLayout.PREFERRED_SIZE, 61, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGap(42, 42, 42)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(label_nombreLugar)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(nombreLugar, javax.swing.GroupLayout.DEFAULT_SIZE, 134, Short.MAX_VALUE))
                                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                    .addComponent(label_deportes)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addComponent(deportes, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                    .addComponent(boton_agregar))
                                .addComponent(scp_deportes, javax.swing.GroupLayout.DEFAULT_SIZE, 219, Short.MAX_VALUE)))))
                .addGap(28, 28, 28))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 357, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addComponent(jLabel5)
                .addGap(27, 27, 27)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(label_nombreLugar)
                            .addComponent(nombreLugar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(label_deportes)
                            .addComponent(deportes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(boton_agregar)))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(codigo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(label_codigo))
                        .addGap(18, 18, 18)
                        .addComponent(label_descripcion)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(scp_deportes, javax.swing.GroupLayout.DEFAULT_SIZE, 127, Short.MAX_VALUE)
                    .addComponent(scp_descripcion, javax.swing.GroupLayout.PREFERRED_SIZE, 127, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(boton_eliminarDeporte)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(boton_aceptar)
                    .addComponent(boton_cancelar))
                .addGap(26, 26, 26))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void nombreLugarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_nombreLugarActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_nombreLugarActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton boton_aceptar;
    private javax.swing.JButton boton_agregar;
    private javax.swing.JButton boton_cancelar;
    private javax.swing.JButton boton_eliminarDeporte;
    private javax.swing.JTextField codigo;
    private javax.swing.JTextField deportes;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel label_codigo;
    private javax.swing.JLabel label_deportes;
    private javax.swing.JLabel label_descripcion;
    private javax.swing.JLabel label_nombreLugar;
    private javax.swing.JTextField nombreLugar;
    private javax.swing.JScrollPane scp_deportes;
    private javax.swing.JScrollPane scp_descripcion;
    private javax.swing.JTextArea txt_deportes;
    private javax.swing.JTextArea txt_descripcion;
    // End of variables declaration//GEN-END:variables
}
